// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import store from './store'
import plugins from "./plugins"
import '@/style/global.scss'
import uView from '@/uni_modules/uview-ui'

Vue.use(plugins)
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
  ...App,
  store
})
Vue.prototype.$app = app
app.$mount()
export default app
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif
// main.js
Vue.use(uView)
Vue.use(plugins)
